

<form role="form">
    {if !$info}
        <div class="form-group">
            <label for="name">暂无详情</label>
        </div>
    {else}
        <div class="form-group">
            <label for="name">{$userName}的问卷详情:</label>
        </div>
        {foreach $info as $value}
            <div class="form-group">
                <label for="name">
                    {$i++}.{$value.titile}（{if $value.type == 0}单选题{elseif $value.type == 1}多选题{else}简答题{/if}）
                </label>
                <div>
                        {foreach  $value.choice as $v}
                            {$v}
                        {/foreach}

                </div>
            </div>

        {/foreach}
    {/if}
</form>